package com.rc.evcharger.mapper.elec;

import com.rc.evcharger.common.base.BaseMapper;
import com.rc.evcharger.model.elec.ElecGun;
import com.rc.evcharger.model.elec.ElecGunExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ElecGunMapper extends BaseMapper<Long, ElecGun, ElecGunExample> {

    List<ElecGun> selectByElecPileId(@Param("elecPileId") Long elecPileId);

    ElecGun selectByElecGunId(@Param("elecGunId") Long elecGunId);

    List<Map<String,Object>> selectByGun();

    void updateTableByHongYY(String tableName);

    List<Map<String,Object>> selectByTableName(String tableName);

    Map<String,Object> selectByTableNameLimit1(String tableName);

}